package cn.flightcloud.cloud.security.web;

import org.springframework.boot.actuate.trace.http.HttpTrace.Principal;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

	@RequestMapping("user")
	public Principal user(Principal user) {
		return user;
	}

}
